package com.ruoyi.biz.domain;

import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 sensor_info
 *
 * @author ruoyi
 * @date 2020-11-30
 */
@Data
@ToString
public class SensorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 传感器id */
    private Long sensorId;



    /** 传感器名称 */
    @Excel(name = "传感器名称")
    private String sensorName;

    /** 传感器编号 */
    @Excel(name = "传感器编号")
    private String sensorCode;

    /** 传感器类型 */
    @Excel(name = "传感器类型")
    private Long sensorType;

    /** 芯片id */
    @Excel(name = "芯片id")
    private Long chipId;

    /** 精度 */
    @Excel(name = "精度")
    private Double accuracy;

    /** 告警类型 0：正常  1.预警 2.告警*/
    @Excel(name = "告警类型")
    private Integer alarmType;

    /** 预警阈值 */
    @Excel(name = "预警阈值")
    private Double warnThreshold;

    /** 报警阈值 */
    @Excel(name = "报警阈值")
    private Double alarmThreshold;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;
    /* 传感器状态*/
    @Excel(name = "传感器状态")
    private Integer sensorStatus;

    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备id */
    private Long equipmentId;

    /** 告警联系人姓名*/
    @Excel(name = "告警联系人姓名")
    private String emergencyContactName;

    @Excel(name = "告警类型字典值")
    private String alarmTypeLabel;

    @Excel(name = "传感器类型")
    private String sensorTypeName;

    /**
     * 芯片名称
     */
    private String chipName;
    /*芯片code*/
    @Excel(name = "芯片code")
    private String equipmentCode;

    /**通知禁用状态 0：不禁用 1.禁用 */
    private Integer noticeDisable;


    /**通知次数*/
    private Integer noticeNum;
    //每天通知初始时间
    private Date noticeTime;
    /**
     * 备注
     */
    private String remark;

    /**
     * 数据采集周期
     */
    private String cycle;

    private String chipNum;
}
